package com.sptpc.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.sptpc.pojo.Article;

public interface ArticleMapper {

	public List<Article> getArticleByPage(@Param("typecode") String typecode, @Param("keyword") String keyword, @Param("start") int start, @Param("pageSize") int pageSize);

	public int getArticleCount(@Param("typecode") String typecode,@Param("keyword") String keyword);

	public Article getArticleById(int id);

}
